<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<table class="cntable table table-bordered dataTable table-accountInfo">
	<thead>
		<tr>
			<th style="width:50px">序号</th>
			<th style="width:100px">账户号</th>
			<th style="width:100px">会员号</th>
			<th style="width:100px">客户姓名</th>
			<th style="width:130px">余额</th>
			<th style="width:80px">金豆</th>			
		</tr>
	</thead>
	<tbody>
		<c:forEach var="accountInfo" items="${accountInfos}" varStatus="status">
			<tr data-id="${accountInfo.id}">
				<td>${status.index+1}</td>
				<td>${accountInfo.accountNo}</td>
				<td>${accountInfo.account}</td>
				<td>${accountInfo.name}</td>
				<td>
					<fmt:formatNumber value="${accountInfo.balance}" pattern="#.##" minFractionDigits="2" />
				</td>
				<td>
					<fmt:formatNumber value="${accountInfo.goldenBean}" pattern="#" maxFractionDigits="0" />
				</td>
			</tr>
		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<th class="pager-th">
				<%@ include file="/WEB-INF/views/shared/master/pager.jsp"%>
			</th>
		</tr>
	</tfoot>
</table>